import 'package:flutter/material.dart';
import 'package:study_app/data/ma_zhe.dart';
import 'package:study_app/data/min_fa.dart';
import 'package:study_app/data/my_zongj_ie.dart';
import 'package:study_app/models/models.dart';

List<DataListModel> speechDataList() {
  List<Map<String, String>> jsonData = [
    {"name": "马哲", "detailText": maZhe()},
    {"name": "民法", "detailText": minFa()},
    {"name": "法律自我总结1", "detailText": myZongJieFirst()},
    {"name": "法律自我总结2", "detailText": myZongJieSecond()}
  ];
  List<DataListModel> data = [];
  for (var item in jsonData) {
    DataListModel model = DataListModel().init(item);
    data.add(model);
  }
  return data;
}
